package com.projects.modular.realty.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 注册用户
 * </p>
 *
 * @author 曾大顺
 * @since 2025-02-11
 */
@Data
@TableName("t_registered_users")
public class RegisteredUsers implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "user_id", type = IdType.ID_WORKER)
    private Long userId;

    /**
     * 姓名
     */
    @TableField("name")
    private String name;

    /**
     * 密码
     */
    @TableField("pass_word")
    private String passWord;

    /**
     * 用户
     */
    @TableField("user_name")
    private String userName;


    /**
     * 订阅状态
     */
    @TableField("subscribe_status")
    private Integer subscribeStatus;


    /**
     * 微信openId
     */
    @TableField("open_id")
    private String openId;

    /**
     * 头像
     */
    @TableField("pic")
    private String pic;

    @TableField("phone")
    private String phone;
    
    @TableField("address")
    private String address;

    @TableField("card_no")
    private String cardNo;



    @Override
    public String toString() {
        return "RegisteredUsers{" +
        "userId=" + userId +
        ", name=" + name +
        ", passWord=" + passWord +
        ", userName=" + userName +
        ", pic=" + pic +
        "}";
    }
}
